<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
<script>
    var yuWen = prompt('语文：');
    var shuXue = prompt('数学：');
    var yingYu = prompt('英语：');
    var sum=yuWen*1+shuXue*1+yingYu*1;
    alert('总分：'+sum);
</script>
</body>
</html>